package com.sooth.system.dict.service;

import com.dream.boot.impl.ServiceImpl;
import com.sooth.system.dict.mapper.SysDictDataMapper;
import com.sooth.system.dict.view.SysDictDataBo;
import com.sooth.system.dict.view.SysDictDataVo;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;


@RequiredArgsConstructor
@Service
public class SysDictDataServiceImpl extends ServiceImpl<SysDictDataVo, SysDictDataBo> implements ISysDictDataService {
    private final SysDictDataMapper dictDataMapper;

    @Override
    public List<SysDictDataVo> list(String dictType, String tenantId) {
        return dictDataMapper.list(dictType, tenantId);
    }
}
